/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LENOVO
 * Date: 2024-08-07
 * Time: 23:55
 */
public class Test {
    public static void main(String[] args) {
        IOperations linkedlistOpe = new MyLinkedList();
        linkedlistOpe.addFirst(0);
        linkedlistOpe.addFirst(1);
        linkedlistOpe.addFirst(1);
        linkedlistOpe.addFirst(1);
        linkedlistOpe.addFirst(2);
        linkedlistOpe.addFirst(3);
        linkedlistOpe.addLast(-1);
        linkedlistOpe.addIndex(1,100);
        linkedlistOpe.remove(100);
        linkedlistOpe.remove(3);
        linkedlistOpe.remove(-1);
        linkedlistOpe.removeAllKey(1);
/*        linkedlistOpe.clear();*/
        linkedlistOpe.display();
    }
}
